<?php
class definePicture extends Picture{
    
        }
class PictureTest{
    public function __toString(){
        $_testPictureTest= new definePicture(13042014, "samuel", "http://www.monsite.com/logo.png") ;
        if($_testPictureTest -> getPublicationDate()==13042014 && $_testPictureTest -> getAuthor()=="samuel" && $_testPictureTest ->getURL()=="http://www.monsite.com/logo.png" ){
            ecrire_log("Test de Picture Test  ... réusi \n", "Test");
            return "Test de Picture Test  ... réusi \n";
            }else{
                ecrire_log("Test de Picture Test  ... échouer \n", "Test");
                return "Test de Picture Test  ... échouer \n";
            }
    }
}
